package com.zenithmind.document.pojo.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zenithmind.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 文档标签实体类
 * 
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("document_tag")
@Schema(description = "文档标签实体")
public class DocumentTag extends BaseEntity {

    /**
     * 标签名称
     */
    @TableField("name")
    @Schema(description = "标签名称")
    private String name;

    /**
     * 标签颜色
     */
    @TableField("color")
    @Schema(description = "标签颜色")
    private String color;

    /**
     * 标签描述
     */
    @TableField("description")
    @Schema(description = "标签描述")
    private String description;

    /**
     * 使用次数
     */
    @TableField("usage_count")
    @Schema(description = "使用次数")
    private Long usageCount;

    /**
     * 创建者ID
     */
    @TableField("creator_id")
    @Schema(description = "创建者ID")
    private String creatorId;

    /**
     * 状态（0:禁用, 1:启用）
     */
    @TableField("status")
    @Schema(description = "状态（0:禁用, 1:启用）")
    private Integer status;
}
